package com.t174.car.dao;

import com.t174.car.entity.Purchase;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PurchaseDao {
    /**
     * 查询全部零件进货
     * @return
     */
    public List<Purchase> query();
    /**
     * 添加零件进货
     * @param purchase
     */
    public int addPur(Purchase purchase);
    /**
     * 删除零件信息
     * @param ids
     */
    public int del(Integer[] ids);


    public Purchase puid(int id);
    public  int udate(Purchase purchase);
}
